<%@ include file="/taglibs.jsp"%>
<head>
    <title><fmt:message key="file-detail-issue-permission-construction.form.title"/></title>
    <link rel="stylesheet" type="text/css" href="${ctx}/styles/displaydetail.css" title="default" />
</head>
<table>
		<tr>
		    <td>&nbsp;</td>
		    <td>
		    	<s:a href="javascript:" onclick="history.go(-1); return false">
		    		<img src="${ctx}/images/btn_cancel_link.png">
		    	</s:a>
		    </td>
		    <td>
		    	<s:url action="deleteFilePublicAdministration" var="deleteFilePublicAdminURL">
					<s:param name="id" value="%{id}"></s:param>
					<s:param name="type" value="%{type}"></s:param>
		    	</s:url>
		    	<s:a href="%{deleteFilePublicAdminURL}" onclick="return confirm('Ban co chac muon Xoa Ho so nay khong?');">
		    		<img src="${ctx}/images/btn_delete_link.png" >
		    	</s:a>
		    </td>
		    <s:if test="%{fileCapPhepXayDung.received == false}">
			    <td>
			    	<s:url action="receiveFilePublicAdministration" var="receiveFilePublicAdminURL">
						<s:param name="id" value="%{id}"></s:param>
						<s:param name="type" value="%{type}"></s:param>
			    	</s:url>		    
			    	<s:a href="%{receiveFilePublicAdminURL}" >
			    		<img src="${ctx}/images/btn_receipt_link.png"> 
			    	</s:a>
			    </td>
		    </s:if>
		    <td>
		    <s:url action="%{'exportForm!exportGPXD_CM.html'}" var="exportVoucherURL">
					<s:param name="formId" value="%{id}"></s:param>
				</s:url>
				<c:if test="${not empty param.id}">
					<s:a href="%{exportVoucherURL}">
						<img src="${ctx}/images/export_word.png">
					</s:a>
				</c:if></td>
		    <td>
		    <s:url action="showInformMessage" var="linkInformMessage">
					<s:param name="id" value="%{id}"></s:param>
					<s:param name="type" value="%{type}"></s:param>
				</s:url>
				<c:if test="${not empty param.id}">
					<s:a href="%{linkInformMessage}">
						<img src="${ctx}/images/btn_send_message_link.png">
					</s:a>
				</c:if></td>
		</tr>
	</table>
		<fieldset>
		    <legend><s:text name="online.detailform.label.information"></s:text>:</legend>
		    <div class="container">
			    <div class="grid_1"><p><s:text name="filePublicAdmin.ten_lien_he"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.ten_lien_he"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p><s:text name="filePublicAdmin.email"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.email"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			</div>
		</fieldset>
		<fieldset>
		    <legend><s:text name="online.detailform.label.field.information"></s:text>:</legend>
		    <div class="container">
			    <div class="grid_1"><p><s:text name="filePublicAdmin.fileCode"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.fileCode"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p><s:text name="filePublicAdmin.thu_tuc"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thu_tuc"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p><s:text name="filePublicAdmin.loai_thu_tuc"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.loai_thu_tuc"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p><s:text name="filePublicAdmin.ngay_nop"></s:text>: </p></div>
			    <div class="grid_2"><p><s:set var="inputDate" value="fileCapPhepXayDung.ngay_nop" scope="request"></s:set><fmt:formatDate value="${inputDate}" pattern="${datePattern}" />&nbsp;</p></div>
			</div>
		</fieldset>
		<fieldset>
	    	<legend><s:text name="online.detailform.label.field.detail.information"></s:text>:</legend>
		    <div class="container">
			    <div><p><strong><s:text name="filePublicAdmin.heading.1.chu_dau_tu"></s:text>:</strong> </p></div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.chu_dau_tu"></s:text>:</p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.chu_dau_tu"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.nguoi_dai_dien"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.nguoi_dai_dien"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>&nbsp;&nbsp;<s:text name="filePublicAdmin.chuc_vu"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.chuc_vu"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.dia_chi_lien_he"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.dia_chi_lien_he"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.so_nha"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.so_nha"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.duong"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.duong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.phuong"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.phuong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.quan"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.quan"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.dien_thoai"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.dien_thoai"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
				<div><p><strong><s:text name="filePublicAdmin.heading.2.dia_diem_xd"></s:text>:</strong> </p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_so"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_so"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_dien_tich"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_dien_tich"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_dia_chi"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_dia_chi"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_duong"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_duong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_phuong"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_phuong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_quan"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_quan"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_tp"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_tp"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.lodat_nguon_goc"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.lodat_nguon_goc"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
				<div><p><strong><s:text name="filePublicAdmin.heading.3.Noi_dung_xp_xd"></s:text>:</strong> </p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.noidung_loai_ct"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.noidung_loai_ct"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.noidung_cap_ct"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.noidung_cap_ct"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.noidung_dt_tang"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.noidung_dt_tang"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.noidung_tong_dt_san"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.noidung_tong_dt_san"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.noidung_chieucao"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.noidung_chieucao"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.noidung_so_tang"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.noidung_so_tang"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
				<div><p><strong><s:text name="filePublicAdmin.heading.4.Don_vi_thiet_ke"></s:text>:</strong> </p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.donvi_tk"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.donvi_tk"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.donvi_dia_chi"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.donvi_dia_chi"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.donvi_dien_thoai"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.donvi_dien_thoai"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
				<div><p><strong><s:text name="filePublicAdmin.heading.5.To_chuc_tham_dinh_thiet_ke"></s:text>:</strong> </p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.thamdinh_tk"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thamdinh_tk"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.thamdinh_dia_chi"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thamdinh_dia_chi"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.thamdinh_dien_thoai"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thamdinh_dien_thoai"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>- <s:text name="filePublicAdmin.thamdinh_giay_phep"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thamdinh_giay_phep"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			    <div class="grid_1"><p>&nbsp;&nbsp;<s:text name="filePublicAdmin.thamdinh_ngay_cap"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thamdinh_ngay_cap"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p><strong><s:text name="filePublicAdmin.phuong_an_pha_do"></s:text>:</strong> </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.phuong_an_pha_do"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			    <div class="grid_1"><p><strong><s:text name="filePublicAdmin.7.thoi_gian_hoan_thanh"></s:text>:</strong> </p></div>
			    <div class="grid_2"><p><s:property value="fileCapPhepXayDung.thoi_gian_hoan_thanh"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			</div>
	</fieldset>
	<fieldset>
		<legend><s:text name="online.form.attachfiletable.title"></s:text>:</legend>
	 	<s:set name="lstFileAttachments" value="fileCapPhepXayDung.fileAttachments" scope="request"/>
			    
			    <display:table name="lstFileAttachments" class="table" id="attachFileDetail" partialList="false">
				    <display:column titleKey="attachFile.attachFileName">
				    	<a href="${attachFileDetail.url}">${attachFileDetail.fileName}</a>
				    </display:column>
				</display:table>
	</fieldset>
	<c:if test="${not empty fileCapPhepXayDung.notify_message}">
		<fieldset>
			<legend><s:text name="online.form.notify"></s:text>:</legend>
			<s:property value="%{fileCapPhepXayDung.notify_message}"/>	    
		</fieldset>
	</c:if>
	
	<table>
		<tr>
		    <td>&nbsp;</td>
		    <td>
		    	<s:a href="javascript:" onclick="history.go(-1); return false">
		    		<img src="${ctx}/images/btn_cancel_link.png">
		    	</s:a>
		    </td>
		    <td>
		    	<s:url action="deleteFilePublicAdministration" var="deleteFilePublicAdminURL">
					<s:param name="id" value="%{id}"></s:param>
					<s:param name="type" value="%{type}"></s:param>
		    	</s:url>
		    	<s:a href="%{deleteFilePublicAdminURL}" onclick="return confirm('Ban co chac muon Xoa Ho so nay khong?');">
		    		<img src="${ctx}/images/btn_delete_link.png">
		    	</s:a>
		    </td>
		    <s:if test="%{fileCapPhepXayDung.received == false}">
			    <td>
			    	<s:url action="receiveFilePublicAdministration" var="receiveFilePublicAdminURL">
						<s:param name="id" value="%{id}"></s:param>
						<s:param name="type" value="%{type}"></s:param>
			    	</s:url>		    
			    	<s:a href="%{receiveFilePublicAdminURL}" >
			    		<img src="${ctx}/images/btn_receipt_link.png"> 
			    	</s:a>
			    </td>
		    </s:if>
		    <td>
		    <s:url action="%{'exportForm!exportGPXD_CM.html'}" var="exportVoucherURL">
					<s:param name="formId" value="%{id}"></s:param>
				</s:url>
				<c:if test="${not empty param.id}">
					<s:a href="%{exportVoucherURL}">
						<img src="${ctx}/images/export_word.png">
					</s:a>
				</c:if></td>
		    <td>
		    <s:url action="showInformMessage" var="linkInformMessage">
					<s:param name="id" value="%{id}"></s:param>
					<s:param name="type" value="%{type}"></s:param>
				</s:url>
				<c:if test="${not empty param.id}">
					<s:a href="%{linkInformMessage}">
						<img src="${ctx}/images/btn_send_message_link.png">
					</s:a>
				</c:if></td>
		</tr>
	</table>





